﻿// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.


using MQTTnet.Client;

namespace DotNetFramework.CAP.Mqtt
{
    public interface IConnectionPool
    {
        string ServersAddress { get; }

        IMqttClient RentProducer();

        bool Return(IMqttClient context);
    }
}